package com.tsing.wms.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author TheTsing
 * @create 2022-04-20 16:49
 */
@Data
public class ExportRecordReqVO {

    @NotBlank(message = "id不能为空")
    private String id;

    @ApiModelProperty("出库还是入库 0 出库   1 入库")
    @NotNull(message = "类型不能为空")
    @Range(min = 0, max = 1, message = "只能传入0或1，出库还是入库 0 出库   1 入库")
    private Integer type;

}
